; Use `memq' to be just as explicit as necessary
authorJeremy Bryant <jb@jeremybryant.net>
Wed, 3 Apr 2024 21:43:19 +0000 (22:43 +0100)
committerJustin Burkett <justin@burkett.cc>
Tue, 9 Apr 2024 17:52:20 +0000 (13:52 -0400)
* which-key.el (which-key--show-evil-operator-keymap):
Use `memq' to be just as explicit as necessary.

which-key.el

index 57825ca0e50c6af1051780327ecaf7f3984f8dd8..8c6d4236b1d9890f27f1857872808d91f7d9da92 100644 (file)
@@ -2672,7 +2672,7 @@ KEYMAP is selected interactively by mode in
                           nil "evil operator/motion keys"))
                    (which-key--show-page)))))
       (let ((key (read-key)))
-        (when (member key '(?f ?F ?t ?T ?`))
+        (when (memq key '(?f ?F ?t ?T ?`))
           ;; these keys trigger commands that read the next char manually
           (setq which-key--inhibit-next-operator-popup t))
         (cond ((and which-key-use-C-h-commands (numberp key) (= key help-char))